from django.conf.urls import url
from django.urls import path
from . import views, testdb, search, user, main

urlpatterns = [
    url(r'^hello/$', views.runoob),
    url(r'^testdb/$', testdb.testdb),
    url(r'^search-form/$', search.search_form),
    url(r'^search/$', search.search),
    url(r'^search-post/$', search.search_post),
    url('user/reg_form', user.reg_form),
    url('user/reg_post', user.reg_post),
    url('user/login', user.login),
    url('user/login_post', user.login_post),
    url('', main.main),
]
